| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | invoice: a reusable bolt12 offer has no terminal paid state | Adam Soltys | 2026-09-22 | 2 | -6/+44 |
| | | | | | | | | | | | | | | | | | | | | | | A bolt12 offer is a standing payment code. CLN derives the same offer_id from the same (amount, description), so re-creating one hands back the original record, whose `received` has accumulated over the offer's whole lifetime. The invoice layout read that as "this invoice was paid" and redirected to the success screen, so reopening a long-lived offer never showed the QR and left no way to copy the lno. Treat a payment as celebratory only when it arrives while the page is open: the socket handler now passes the amount of that payment as `?paid=<amount>`, and the layout uses it in place of the lifetime total for reusable offers. Single-use invoices keep the existing logic, so a partly-paid invoice still stays on the QR rather than celebrating early. The success screen showed lifetime `received` for the same reason, which misreported a single payment to a long-lived offer; it now renders the amount the socket reported, which is already net of tip. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> | ||||
| * | receive/invoice: build POST body from snapshot, don't mutate $derived | Adam Soltys | 2026-06-19 | 1 | -11/+12 |
| | | | | | | | | | | | | | | | The merchant receive and invoice pages mutated the $derived `invoice` proxy (setType/setAmount/setMemo) then POSTed it. Mutating a $derived and JSON.stringify-ing it serializes unreliably, so a stale type (on-chain when lightning was expected) and a stale/10x-shifted amount could leak from a prior interaction into POST /invoice (funk POS bug). Build the body as { ...$state.snapshot(invoice), ...changes } so the intended type/amount/address_type reliably win; update() takes the plain body. Front-end only. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> | ||||
| * | redirect to paid route | Adam Soltys | 2025-09-09 | 1 | -4/+4 |
| | | |||||
| * | check for user in invoice route | Adam Soltys | 2025-09-09 | 2 | -11/+13 |
| | | |||||
| * | fix autopay with tip logic | Adam Soltys | 2025-08-26 | 1 | -4/+3 |
| | | |||||
| * | set tip | Adam Soltys | 2025-08-20 | 2 | -23/+17 |
| | | |||||
| * | handle null tips | Adam Soltys | 2025-07-19 | 2 | -6/+21 |
| | | |||||
| * | prompt for tip for auto pays | Adam Soltys | 2025-07-19 | 2 | -23/+18 |
| | | |||||
| * | fix pin issue | Adam Soltys | 2025-07-16 | 2 | -8/+22 |
| | | |||||
| * | user onboarding | Adam Soltys | 2025-07-10 | 1 | -13/+15 |
| | | |||||
| * | auto pay | Adam Soltys | 2025-07-08 | 1 | -2/+19 |
| | | |||||
| * | invoice types | Adam Soltys | 2025-01-23 | 1 | -0/+1 |
| | | |||||
| * | invoice type selection | Adam Soltys | 2025-01-15 | 1 | -8/+26 |
| | | |||||
| * | nostr sign in | Adam Soltys | 2025-01-03 | 1 | -2/+9 |
| | | |||||
| * | iconify noobserver | Adam Soltys | 2024-12-30 | 2 | -2/+2 |
| | | |||||
| * | fix sendmax | Adam Soltys | 2024-12-22 | 1 | -2/+0 |
| | | |||||
| * | set memo | Adam Soltys | 2024-12-22 | 3 | -34/+43 |
| | | |||||
| * | pass locale around | Adam Soltys | 2024-12-12 | 1 | -6/+16 |
| | | |||||
| * | fix checkmark when not logged in | Adam Soltys | 2024-12-12 | 1 | -1/+1 |
| | | |||||
| * | fix tip currency | Adam Soltys | 2024-12-12 | 1 | -2/+2 |
| | | |||||
| * | fix ecash rate | Adam Soltys | 2024-12-05 | 1 | -1/+1 |
| | | |||||
| * | cached rates | Adam Soltys | 2024-12-05 | 3 | -45/+13 |
| | | |||||
| * | cache qrs | Adam Soltys | 2024-12-03 | 1 | -3/+1 |
| | | |||||
| * | try service worker again | Adam Soltys | 2024-11-29 | 2 | -2/+1 |
| | | |||||
| * | numpad fixes | Adam Soltys | 2024-11-28 | 1 | -1/+13 |
| | | |||||
| * | fix untrack | Adam Soltys | 2024-11-28 | 1 | -1/+0 |
| | | |||||
| * | currency locale | Adam Soltys | 2024-11-28 | 1 | -1/+3 |
| | | |||||
| * | warnings | Adam Soltys | 2024-11-26 | 1 | -2/+1 |
| | | |||||
| * | warnings | Adam Soltys | 2024-11-26 | 1 | -25/+12 |
| | | |||||
| * | bip21 and socket fixes | Adam Soltys | 2024-11-26 | 2 | -117/+15 |
| | | |||||
| * | fix amount prompt | Adam Soltys | 2024-11-25 | 1 | -3/+8 |
| | | |||||
| * | payment amount helpers | Adam Soltys | 2024-11-14 | 2 | -81/+20 |
| | | |||||
| * | amount component | Adam Soltys | 2024-11-14 | 2 | -11/+16 |
| | | |||||
| * | lightning bolt | Adam Soltys | 2024-11-12 | 2 | -2/+2 |
| | | |||||
| * | remember fiat setting | Adam Soltys | 2024-11-11 | 1 | -2/+1 |
| | | |||||
| * | default light theme | Adam Soltys | 2024-11-08 | 1 | -1/+1 |
| | | |||||
| * | clean up internal send dialog | Adam Soltys | 2024-11-08 | 1 | -1/+0 |
| | | |||||
| * | fix invoice variables | Adam Soltys | 2024-11-08 | 1 | -12/+6 |
| | | |||||
| * | fix tip dialog | Adam Soltys | 2024-11-08 | 1 | -47/+20 |
| | | |||||
| * | fix set amount | Adam Soltys | 2024-11-08 | 2 | -2/+0 |
| | | |||||
| * | svelte 5 fixups | Adam Soltys | 2024-11-08 | 2 | -44/+20 |
| | | |||||
| * | svelte 5 | Adam Soltys | 2024-11-08 | 5 | -83/+120 |
| | | |||||
| * | theme cookie | Adam Soltys | 2024-11-06 | 2 | -6/+10 |
| | | |||||
| * | bind values | Adam Soltys | 2024-11-05 | 1 | -24/+24 |
| | | |||||
| * | dark styles | Adam Soltys | 2024-11-05 | 3 | -101/+29 |
| | | |||||
| * | dark styles | Adam Soltys | 2024-11-04 | 1 | -60/+51 |
| | | |||||
| * | dark styles | Adam Soltys | 2024-11-04 | 2 | -117/+22 |
| | | |||||
| * | buttons and icons | Adam Soltys | 2024-11-03 | 1 | -16/+16 |
| | | |||||
| * | focus start button | Adam Soltys | 2024-11-01 | 1 | -6/+15 |
| | | |||||
| * | biome | Adam Soltys | 2024-10-31 | 4 | -39/+39 |
| | | |||||
